import org.junit.Test;
import org.springframework.beans.factory.annotation.Value;

public class demots {
    @Value(value ="${spring.datasource.password}")
    private String pwd;

    /**
     * 测试 value(${*})
     */
    @Test
    public void tsValue() {
        System.out.println(pwd);
    }


}
